zoom function works properly (only in corner though)