Basic level design

- moving viewport check to global sprite class