bunch of frontend layout stuff