Main function for many screens

For switching you can use this for less block