separated program into two functions with a menu implemented and a option to have browser at full screen