Resizing and moving floating windows