added bouncing rectangle