switching sprites using key 0 but not fully working