Added slide direction for text area