switching between two first windows is now implemented