snapback functionality working at basic level