works both in chrome and firefox, transitions made smooth and fixed some minor lurking master bugs