added left slide click function into controller