Removed some redundancy from the wallslide/stick/run code.