I recently ran into an issue creating application folders on a new Nexus 5 device. Each time I would try to drag an app on top of another to create a folder, the other application would move away. The same would happen when I tried to drag an app into an existing folder. The issue apparently only occurs if you move the app too slowly. If you quickly drag the app on top of another app or folder it will work as expected.