added some comments and clamped tile menu to screen