fixes success message for mobile view