Refactored code to open a drawer.
Added all drawer switching code. Need to test some animations next.