Implement a way to move the panel to the screen edges