variable names changed for open+close drawer to correspond to iOS version