Fixed overflow in contentArea layout

Signed-off-by: Tom Wright <tom@inflatablecookie.com>