Drag content back with same behavior as slide menu?


i am trying to find the way how to drag content and go back in history with the same behavior as slide menu where u see what content is revealing when dragging. Maybe somehow using slide-box? Or somehow enhance following directive?

.directive('dragBack', function($ionicGesture, $state) { 
	return {
		restrict : 'EAC',
		link : function(scope, elem, attr) {
		 $ionicGesture.on('swipe', function(event) {
				// alert('Swiped!');
			}, elem);