fixed downward movement and screen size
added method to safe rectangle positions in grid