added state handling for moving away and back into left/right drawable