remove test code

accidentally commited :\
cleanup whitespace
refactor

>> remove itemSize (as this is variable for each item)
>> cleaned handler functions into eventHandler object
>> refactored start item positioning code
>> calculate position now passed arguments