Sliding menu in details.js