Frame resizes depending on display