Add git ignore, fix events, and add button fixed viewport