Changed layout of connection fragment to resize based on user's screensize