Added motion effect to the view.