Main page view function: greeting text opening function fix