added tilting functionality