Created work around for floating up issue on code sample clicks