improving slide animation

now works correctly on device. Required upgrade to iOs7