added right slide click code and deleted from partial