Fix jslint errors and changed handler from click to touchend
Change handler from click to touchend
Add checking of action overflow on 'push' event