Implement sliding layout for questions