implementing right side animation
Right to Left view animation