Hide elements that will be moved with javascript
Revert "Hide elements that will be moved with javascript"

This reverts commit 546ed882e087e100f88e6109c3f6c32a1d135b8f.
Better handling of things moved by javascript